package com.api.shopapi.service;


import com.api.shopapi.entity.BusinessStaffRel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BusinessStaffRelService {

    int insert(BusinessStaffRel businessStaffRel);

    int update(BusinessStaffRel businessStaffRel);

    BusinessStaffRel getByBusinessStaffRelCode(String businessStaffRelCode);

    BusinessStaffRel getByStaffCode(String staffCode);

    List<BusinessStaffRel> getListByBusinessCode(String businessCode);

    int deleteByBusinessStaffRelCode(String businessStaffRelCode);

    List<BusinessStaffRel> getListByStaffCode(String staffCode);


}
